package top.zlhy7.autoconfig.prop;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author renyong
 * @date 2022/11/19 11:36
 * @description 数据源配置类
 */
@Data
@ConfigurationProperties("spring.myjdbc.data-source")
public class MyDataSourceProperties {
    /**
     * 用户名
     */
    private String userName;
    /**
     * 密码
     */
    private String password;
    /**
     * jdbc url
     */
    private String url;
    /**
     * 驱动类
     */
    private String driverClassName;
}
